package com.weitu.permission.log.entity;

import com.weitu.permission.user.entity.User;

import java.io.Serializable;

/**
 * @author zhangqingxi 2017/3/18
 */
public class LoginLog implements Serializable {
    /**
     * id
     */
    private String id;

    /**
     * 登陆人Id
     */
    private String loginUserId;

    /**
     * 登陆人IP
     */
    private String loginIp;

    /**
     * 登陆时间
     */
    private String loginTime;

    /**
     * 离线时间
     */
    private String offlineTime;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 登录人人
     */
    private User user;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLoginUserId() {
        return loginUserId;
    }

    public void setLoginUserId(String loginUserId) {
        this.loginUserId = loginUserId == null ? null : loginUserId.trim();
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp == null ? null : loginIp.trim();
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime == null ? null : loginTime.trim();
    }

    public String getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(String offlineTime) {
        this.offlineTime = offlineTime == null ? null : offlineTime.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
